package com.droowa.model.service;

import java.sql.SQLException;
import java.util.List;

import com.droowa.domain.BoardClass;
import com.droowa.domain.BoardList;
import com.droowa.domain.BoardManagement;
import com.droowa.domain.BoardOrder;
import com.droowa.domain.BoardSort;

public interface BoardManagementService {

	public abstract List<BoardClass> searchBoardClass() throws SQLException;
	public abstract List<BoardManagement> searchBoardManagement() throws SQLException;
	public abstract BoardManagement searchBoardManagementId(int boardId) throws SQLException;
	public abstract int insertBoardManagement(BoardManagement bm) throws SQLException;
	public abstract int createBoardPaper(int boardId) throws SQLException;
	public abstract int createBoardPaperSequence(int boardId) throws SQLException;
	public abstract List<BoardList> searchBoardList() throws SQLException;
	public abstract int insertBoardOrder(BoardOrder bo) throws SQLException;
	public abstract int insertBoardFirstOrder(BoardOrder bo) throws SQLException;
	public abstract int updateBoardManagementById(BoardManagement bm) throws SQLException;
	public abstract int deleteBoardManagementById(int boardId) throws SQLException;
	public abstract int dropBoardPaper(int boardId) throws SQLException;
	public abstract int dropBoardPaperSequence(int boardId) throws SQLException;
	public abstract List<BoardSort> searchSortList() throws SQLException;
	public abstract int updateBoardSort(int[] sort) throws SQLException;
	public abstract List<BoardSort> searchOpenList() throws SQLException;
}
